<?php
require_once __Dir__ . '/../simpletest/autorun.php';
require_once __Dir__ . '/../../Core/BonoHomeCore/BonoHomeCoreService.php';

/*
* @reference TA_ USM_SRS_USR_0010 
* @reference TA_ USM_SRS_USR_0020 
*/
class TestOfAddAccount extends UnitTestCase 
{
	/*
		Check a correct add answer
	*/
    function testCorrectAddAccount() 
	{
		$state = 0;
		$name = "test account"; 
		
		$service = new BonoHomeCoreService();
		//@reference TA_ USM_SRS_USR_0010 
		$account = $service->addAccount($state, $name);
		$this->assertTrue($account->response->Id > 0);
		
		//@reference TA_ USM_SRS_USR_0020 
    }
	
	
	/*
		Check an invalid add answer
	*/
    function testInvalidAddAccount() 
	{
		//$this->assertTrue(true);
    }
}
?>